package com.ruoyi.weixin.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

/**
 * (LoginLog)表实体类
 *
 * @author makejava
 * @since 2024-03-11 10:54:34
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginLog extends Model<LoginLog> {
    @TableId(type= IdType.AUTO)
    private Integer id;
    
    private String ip;
    
    private String name;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date loginTime;

    private Integer userId;

    private String realName;


}

